<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%--<%@include file="index.htm" %>--%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%--
    This file is an entry point for JavaServer Faces application.
--%>
<f:view>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h:form>
            <br>
            <table width="70%">
                <tr>
                    <td width="30%">
                    ID:</td><td width="70%">
                <h:inputText id="CusID" value="#{Demo.cusID}"/></td></tr>
            <tr><td>
                FirtName:</td><td><h:inputText id="FirstName" value="#{Demo.fisrtName}"/>
            </td></tr><tr><td>
            LastName:</td><td><h:inputText id="LastName" value="#{Demo.lastName}"/>
            </td></tr><tr><td>
            Password:</td><td><h:inputText id="Password" value="#{Demo.password}"/>
            </td></tr><tr><td>
            Email:</td><td><h:inputText id="Email" value="#{Demo.email}"/>
            </td></tr><tr><td>
            Address:</td><td><h:inputText id="Address" value="#{Demo.address}"/>
            </td></tr><tr><td>
            Phone:</td><td><h:inputText id="Phone" value="#{Demo.phone}"/>
            </td></tr><tr><td>
            BankName:</td><td><h:inputText id="BankName" value="#{Demo.bankName}"/>
            </td></tr><tr><td colspan="2" align="center" >
                <h:commandButton value="ADD" action="#{Demo.Add}"/></td></tr>
            </table>
        </h:form>
    </body>
</html>
</f:view>
